package com.echo.im.client.model;


import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用于 engin to engin 和 platform to engin
 * @author echo
 * @date 2024-08-14
 */
@Data
public class IMRouteInfo<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long msgId;

    private Byte command;

    /**
     * 发送方
     */
    private IMUserInfo sender;

    /**
     * 接收方用户列表
     */
    List<IMUserInfo> receivers;

    /**
     * 推送消息体
     */
    private T data;
    /**
     * 需要离线存储吗？
     */
    private Boolean needOfflineStore=true;


}


